<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>添加路径映射</title>
    <link rel="stylesheet" href="/static/lib/layuiadmin/plugins/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="/static/lib/layuiadmin/css/global.css" media="all">
    <link rel="stylesheet" href="/static/lib/layuiadmin/plugins/font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="/static/lib/layuiadmin/css/table.css" />
</head>

<body>
<div class="admin-main">

    <div style="margin: 15px;">
        <form class="layui-form" method="post" action="/admin/route/create">
            <div class="layui-form-item">
                <label class="layui-form-label">路径映射</label>
                <div class="layui-input-block">
                    <textarea name="route" class="form-control" style="height:500px;width:900px;" placeholder="书写规则：覆盖路径=>被覆盖路径,覆盖路径=>被覆盖路径"></textarea>
                    <div style="color:red;font-weight: bold;font-family: Microsoft Yahei;">举例： product/slab-strengthening=>index/product/funproductlist/id/75,product/ceshi=>ceshi</div>
                    <div style="color:red;">每天规则以 英文逗号 结束</div>
                </div>

            </div>





            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button lay-filter="add" lay-submit class="layui-btn">提交</button><a href="/admin/route/index" class="layui-btn layui-btn-danger">返回</a>
                </div>
            </div>
        </form>
    </div>

</div>
<script type="text/javascript" src="/static/lib/layuiadmin/plugins/layui/layui.js"></script>
<script type="text/javascript">
    layui.use('form', function(){
        var form = layui.form();
    });
</script>

</body>

</html>